<?php
/**
 * Created by PhpStorm.
 * User: Dell
 * Date: 2018-12-26
 * Time: 9:35
 */

namespace app\common\validate;


use think\Validate;

class GoodsValidate extends Validate
{
    protected $rule = [
        ['good_name', 'require', '商品名称不能为空'],
        ['good_price', 'require', '商品单价不能为空'],
        ['good_classify', 'require', '商品类型不能为空'],
        ['good_img', 'require', '商品图片不能为空'],
    ];
}